class AddCreateReadUpdateDestroyAuthentication < ActiveRecord::Migration
  def self.up
    remove_column :authentications , :enable
    add_column :authentications , :can_create ,:boolean
    add_column :authentications , :can_read ,:boolean
    add_column :authentications , :can_update ,:boolean
    add_column :authentications , :can_destroy ,:boolean
  end

  def self.down
    add_column :authentications , :enable ,:boolean
    remove_column :authentications , :can_create
    remove_column :authentications , :can_read
    remove_column :authentications , :can_update
    remove_column :authentications , :can_destroy
  end
end
